<?php
$oAppconfig = AppconfigHandler::getConfig();
$oActionsController['client'] = array(
	'client-groupchange' => array(
		'handler' => 'client',
		'need' => 'accountant|admin'
	),
	'client-groupdelete' => array(
		'handler' => 'client',
		'need' => 'accountant|admin'
	),
	'client-groupadd' => array(
		'handler' => ($oAppconfig['bFreeClientlists'] ? 'system' : 'client'),
		'need' => ($oAppconfig['bFreeClientlists'] ? 'login' : 'accountant'),
	),
	'client-add' => array(
		'handler' => 'client',
		'need' => 'admin'
	),
	'client-change' => array(
		'handler' => 'client',
		'need' => 'admin'
	),
	'client-delete' => array(
		'handler' => 'client',
		'need' => 'admin'
	),
	'client-useradd' => array(
		'handler' => 'client',
		'need' => 'admin'
	),
	'client-userdelete' => array(
		'handler' => 'client',
		'need' => 'admin'
	),
	'client-userchange' => array(
		'handler' => 'client',
		'need' => 'admin'
	),
);
?>
